import cv2 as cv

imgRGB = cv.imread("../test_datas/messi5.jpg")
# 转换颜色空间
imgGray = cv.cvtColor(imgRGB, cv.COLOR_BGR2GRAY)
imgHSV = cv.cvtColor(imgRGB, cv.COLOR_BGR2HSV)


cv.imshow("RGB", imgRGB)
cv.imshow("Gray", imgGray)
cv.imshow("HSV", imgHSV)
cv.waitKey(0)

cv.destroyAllWindows()
